
<div class="center">
    <div class="ordercenter">
        <div class="tablebox">
            <table class="table table-striped">
                <thead>
                <tr style="font-size:1px">
                    <th>广告编号</th>
                    <th>广告类型(点击修改)</th>
                    <th>广告主</th>
                    <th>广告联系电话</th>
                    <th>广告编辑时间</th>
                    <th>广告地址</th>
                    <th>操作</th>
                </tr>
                </thead>
                <trbody>
                    <tr dir-paginate="adv in advs | filter:q | itemsPerPage: pageSize" current-page="currentPage">
                        <td><span>{{adv.aId}}</span></td>
                        <!--<td><a ui-sref="home1.first.admodify({advcontentid:adv.advcontentid})"><textarea style="width: 180px;height: 40px" data-ng-init="changeadv(adv.advid,adv.advcontentid)">{{adv.advcontent}}</textarea></a></td>-->
                        <td><a ui-sref="home1.first.addetail({id:adv.aId})"><span>{{adv.aType |
                            adtypefilter}}</span></a></td>
                        <td><span>{{adv.aName}}</span></td>
                        <td><span>{{adv.aManagertel}}</span></td>
                        <td><span>{{adv.aEdittime | date:'yyyy-MM-dd hh:mm:ss'}}</span></td>
                        <td><span>{{adv.aAddr}}</span></td>
                        <td><a ui-sref="home1.first.adbind({id:adv.aId})">查看广告发布</a></td>
                    </tr>
                </trbody>
            </table>

            <div >
                <div class="text-center">
                    <dir-pagination-controls boundary-links="true" on-page-change="pageChangeHandler(newPageNumber)" template-url="view/pagination/dirPagination.tpl.html"></dir-pagination-controls>
                    <div class="pagination">
                        <li ng-class="{ disabled : pagination.current == 1 }">
                            <div >
                                <select  ng-model="pageSize" style="height: 40px;color: #428bca;font-size: 15px;">
                                    <option ng-selected="true" value="5">
                                        -- 每页个数 --
                                    </option>
                                    <option value="10">
                                        10
                                    </option>
                                    <option value="15">
                                        15
                                    </option>
                                    <option value="20">
                                        20
                                    </option>
                                    <option value="25">
                                        25
                                    </option>
                                </select>
                            </div>

                        </li>
                    </div>
                </div>
            </div>

        </div>
    </div>
</div>